package com.teach.service;

import com.teach.dto.AuthDto;

/**
 * <pre>
 * - 管理员的业务逻辑接口
 * Author : J.L.Zhou
 * E-Mail : 2233875735@qq.com
 * Tel : 151 1104 7708
 * Date : 2022-05-11 9:42
 * Version : 1.0
 * Copyright 2022 jlzhou.top Inc. All rights reserved.
 * Warning: this content is only for internal circulation of the company.
 *          It is forbidden to divulge it or use it for other commercial purposes.
 * </pre>
 **/
public interface AdminService {

  /**
   * 登录
   * @param name
   * @param pwd
   * @return 登录成功的用户信息
   * @throws Exception
   */
  AuthDto login(String name, String pwd)throws Exception;
}
